//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04A
TN_Widget.CreateTable([['The Temptations & The Four Tops','Scottish Rite Auditorium - Collingswood','Collingswood, NJ','Saturday','5/11/2024','8:00 PM','6136911','The-Temptations---The-Four-Tops-5-11-2024'],['The Temptations & The Four Tops','Scottish Rite Auditorium - Collingswood','Collingswood, NJ','Sunday','5/12/2024','7:00 PM','6134305','The-Temptations---The-Four-Tops-5-12-2024'],['The Dixie Dregs','Scottish Rite Auditorium - Collingswood','Collingswood, NJ','Tuesday','5/21/2024','7:30 PM','6296402','The-Dixie-Dregs-5-21-2024'],['The Allman Betts Band','Scottish Rite Auditorium - Collingswood','Collingswood, NJ','Thursday','5/23/2024','7:30 PM','6217327','The-Allman-Betts-Band-5-23-2024'],['The Genesis Show','Scottish Rite Auditorium - Collingswood','Collingswood, NJ','Friday','6/21/2024','8:00 PM','6266171','The-Genesis-Show-6-21-2024'],['Hollywood's Greatest Game Show','Scottish Rite Auditorium - Collingswood','Collingswood, NJ','Saturday','6/29/2024','8:00 PM','6331421','Hollywood-s-Greatest-Game-Show-6-29-2024'],['The Fab Four - The Ultimate Tribute','Scottish Rite Auditorium - Collingswood','Collingswood, NJ','Saturday','7/27/2024','7:00 PM','6295362','The-Fab-Four---The-Ultimate-Tribute-7-27-2024'],['Kenny Wayne Shepherd Band','Scottish Rite Auditorium - Collingswood','Collingswood, NJ','Wednesday','8/7/2024','7:30 PM','6331403','Kenny-Wayne-Shepherd-Band-8-7-2024'],['Dave Mason's Traffic Jam','Scottish Rite Auditorium - Collingswood','Collingswood, NJ','Friday','8/9/2024','8:00 PM','6278162','Dave-Mason-s-Traffic-Jam-8-9-2024'],['Killer Queen','Scottish Rite Auditorium - Collingswood','Collingswood, NJ','Friday','9/27/2024','8:00 PM','6374945','Killer-Queen-9-27-2024'],['Bruce Hornsby And The Noisemakers','Scottish Rite Auditorium - Collingswood','Collingswood, NJ','Wednesday','10/2/2024','7:30 PM','6306844','Bruce-Hornsby-And-The-Noisemakers-10-2-2024'],['Burton Cummings','Scottish Rite Auditorium - Collingswood','Collingswood, NJ','Friday','10/4/2024','8:00 PM','6314198','Burton-Cummings-10-4-2024']],'Scottish Rite Auditorium','http://www.ticketnetwork.com/ticket/Scottish-Rite-Auditorium-events.aspx');